compilation stuff for various esoteric build methods