Fixed problem with ubuntu gcc linker - cpp files defined before libraries in the compilation command.
Fixed problem with ubuntu gcc linker - cpp files defined before libraries in the compilation command.

ducminhnguyen/hesaff,ducminhnguyen/hesaff,perdoch/hesaff,perdoch/hesaff