adjusted project to use rpath instead