More makefile corrections
More cleanup; put native plugin register calls in 1 common file