Fixed check for scripts in .travis.yml
Fix date.timezone for OS X