ide/Project: Fixed bad option check causing corrupt Makefiles in 64 bit Linux