fix compilation with OpenJDK

The links cannot be resolved as the BuildLink project does
not have the dependencies to satisfy them.