use physx release libraries when compiling in release mode

Please check if this works for linux