Add initial support for release building