Applied rpld-1.8-makefile.patch from