Forward to build script using script instead of symlink

Symlinks recorded by git will not work when the source directory is
placed at a different spot.
Remove unused variable
Forward to correct stir path
Make engine options optional
Make sure resource id is within bounds

An out of bounds resource id might cause a segmentation fault in
ResourceMap::contains.
Build tests on MacOS X in 64 bit