Fixed makefile to create dynamic library for application to link against

Thanks Matt Stevens!
http://stackoverflow.com/questions/24296470/how-do-i-import-a-swift-function-declared-in-a-compiled-swiftmodule-into-anothe/24396175