only export public symbols

Change-Id: I16331b4f7b9fd997e8fd81fcc4c8f3ea99b7a613
add compile to .gitignore

Change-Id: I0df710c50a107166d85b0f7f4705f730638bf141