Use --no-as-needed only in Linux (OSX's LLVM based tool chain doesn't support it).
Don't include package.d modules for "dub test". See #198.
Apply the platform specific build settings to all targets. Fixes #201. Fixes #204.