changed make file to use optimization flags