This reverts commit 972c03f79f, reversing changes made to 8ebd698763.
972c03f79f
8ebd698763
Also adds new buildmode