updated flags for newest g++/ld on linux
cleanup
delete bin folder