Sanitize build and fix path to bins.