Automatically find flags for dependencies too
Skip package link options and extra libraries, don't nub
Add a script for statically linking Haskell files and packages
Don't assume the presence of 'main'
Build to standard Xcode locations