Fixes #10, adds compiler level option for ByteBuffer