Fastcpu on unix

Fixed some declarations so we can compile on linux and OSX and added a makefile.