Completely remove win32 and linux related code from post-install script - refactor rpath related code