fix makefile public build settings