Fixed order of linker flags to make unittests compile
Fixed order of linker flags to make unittests compile

- gtests is now directly linked in from the object file instead of the library not sure what the difference is, but this works on tilera

smarr/OmniVM,smarr/OmniVM,smarr/OmniVM,smarr/OmniVM,smarr/OmniVM,smarr/OmniVM,smarr/OmniVM,smarr/OmniVM