Updates to make static lib compile under g++

- Added make target and shell script
- Uncommented referenceBteSequence in h file
- Fixed small error in c file