fix bash script to compile payment module and tester stub program