Fixed release build problem introduced in last commit