Trying to get build to recognise apr