Fixed the makefile compile target and specified linux target environment