update to use better buld system
improve makefiles