Fix warning, OSX timer and line endings