Added RPATH stuff out of desperation