fixed makefile. LDFlage should be at back