Fix standalones build