Few changes to compile script.