Set correct build modes for IDE