Added a function to set compiler settings.

Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>