moved compat-api.h to correct location