makefile fixes, built successfully but it crashes with a bus error
Merge pull request #2 from rainshapes/master

makefile fixes, built successfully but it crashes with a bus error