Added default compile flags to be RELEASE flags; few bug fixes in bindings