fixing compliation for systems where APR doesn't have crypto support