minor test compile script fixes