add compile options check and dump