added check, if compile options have been set or not, and run compile option check, if it hasn't been set