Fixed #12 -- compile on some systems that don't define some constants