fixed headers for linux and added Makefil