Made Linux compatible, fixed missing statics.cpp-file and added makefile