Renames agent binary used to dylib, as this is the supported by java 1.7+.