stop warnings about no previous prototype when compiling shared engines