adding the rpath flag seems fine.