Fixed bug that would prevent targets besides "debug" and "release" from being run