Allow String.replace to have empty replacement arg
Fix conditional libraries for vxworks