initial primecoin support, improved custom compiler options handling