Add isReleaseBuild method. Closes #1