Fix the binary creation script to work with CMake as well... hopefully