Make installation target work on OS/X. Fixes #18