Fixed compiledir variable which caused this script to break