Port basename() to boost::filesystem
don't leak symbols to the global namespace
Use the -mt version for all boost libs
Some hacks to workaround the annoying moc preprocessor bug
ignore Mac app bundle