To do that, split up the Accounts objects and the instruction implementations. GPL code is only used when the "enable-gpl" feature is enabled. That means compiling the program or running tests need explicit feature activation now.