Fixed bug in compilation script.