switched to different compilation method