Make sure %{_libdir} is not use

Javapackages as noarch package cannot safely reference libdir.