Build script that creates the module dir for snap builds