Attempt to fix onion

@hamiltont I found an issue with onion. CMake was throwing errors that simply did not matter to the running of the onion framework, so we needed to alter the bash script. Opinions?