Use `wait(spawnShell())` instead of deprecated `system()`
Linker command for OSX is the same as for other platforms
Properly escape filenames passed to shell
Merge pull request #4 from schuetzm/fix-shell-warning

A few fixes for the call to the linker