Add compile flags if built with CLI or Remote Access support.