Allow BuildOptMono.sh to be used from elsewhere in the filesystem

Change-Id: Id7ee3bf5c8476d4d0cb58249bbfc2208f198f828