Cleaned up the code
Set options with sdk_dir and others so that they will be available from other recipes