Disable modules on OS X build.

Travis CI builds complained of "ambiguous expansion of macro 'NULL'".