only export public symbols
add compile script to .gitignore

Change-Id: Ibd9b09b2eed51defc4d0a0aa219048bbe64bcfd4