Bug 958437 - Build static directories as part of compile instead of libs and tools; r=gps

--HG--
extra : rebase_source : dc082b833582972af27adab1e553e4b079fac458