Log Message: modfps assumes that lrint() is available; use a workaround for platforms that don't implement lrint().