fix bug in build make file