Fix the make script to compile the code into an amd module